package com.imc.beans;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * SmsUserInfo entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "sms_user_info", catalog = "imcdbserver")
public class SmsUserInfo implements java.io.Serializable {

	// Fields

	private Integer smsUserId;
	private String smsUserName;
	private String smsUserNumber;
	private Integer groupId;
	private Integer corpId;

	// Constructors

	/** default constructor */
	public SmsUserInfo() {
	}

	/** minimal constructor */
	public SmsUserInfo(String smsUserNumber, Integer groupId) {
		this.smsUserNumber = smsUserNumber;
		this.groupId = groupId;
	}

	/** full constructor */
	public SmsUserInfo(String smsUserName, String smsUserNumber,
			Integer groupId, Integer corpId) {
		this.smsUserName = smsUserName;
		this.smsUserNumber = smsUserNumber;
		this.groupId = groupId;
		this.corpId = corpId;
	}

	// Property accessors
	@Id
	@GeneratedValue
	@Column(name = "sms_user_id", unique = true, nullable = false)
	public Integer getSmsUserId() {
		return this.smsUserId;
	}

	public void setSmsUserId(Integer smsUserId) {
		this.smsUserId = smsUserId;
	}

	@Column(name = "sms_user_name", length = 10)
	public String getSmsUserName() {
		return this.smsUserName;
	}

	public void setSmsUserName(String smsUserName) {
		this.smsUserName = smsUserName;
	}

	@Column(name = "sms_user_number", nullable = false, length = 11)
	public String getSmsUserNumber() {
		return this.smsUserNumber;
	}

	public void setSmsUserNumber(String smsUserNumber) {
		this.smsUserNumber = smsUserNumber;
	}

	@Column(name = "group_id", nullable = false)
	public Integer getGroupId() {
		return this.groupId;
	}

	public void setGroupId(Integer groupId) {
		this.groupId = groupId;
	}

	@Column(name = "corp_id")
	public Integer getCorpId() {
		return this.corpId;
	}

	public void setCorpId(Integer corpId) {
		this.corpId = corpId;
	}

}